#ifndef SCEATRAC_H
#define SCEATRAC_H

#include "../hle.h"

void sceAtracAddStreamData();
void sceAtracDecodeData();
void sceAtracEndEntry();
void sceAtracGetAtracID();
void sceAtracGetBufferInfoForReseting();
void sceAtracGetBitrate();
void sceAtracGetChannel();
void sceAtracGetLoopStatus();
void sceAtracGetInternalErrorInfo();
void sceAtracGetMaxSample();
void sceAtracGetNextDecodePosition();
void sceAtracGetNextSample();
void sceAtracGetRemainFrame();
void sceAtracGetSecondBufferInfo();
void sceAtracGetSoundSample();
void sceAtracGetStreamDataInfo();
void sceAtracReleaseAtracID();
void sceAtracResetPlayPosition();
void sceAtracSetHalfwayBuffer();
void sceAtracSetSecondBuffer();
void sceAtracSetData();
void sceAtracSetDataAndGetID();
void sceAtracSetHalfwayBufferAndGetID();
void sceAtracStartEntry();
void sceAtracSetLoopNum();

LIB_START(sceAtrac3plus)
LIB_ADDFUNC(0xd1f59fdb, sceAtracStartEntry)
LIB_ADDFUNC(0xd5c28cc0, sceAtracEndEntry)
LIB_ADDFUNC(0x780f88d1, sceAtracGetAtracID)
LIB_ADDFUNC(0x61eb33f5, sceAtracReleaseAtracID)
LIB_ADDFUNC(0x0e2a73ab, sceAtracSetData)
LIB_ADDFUNC(0x3f6e26b5, sceAtracSetHalfwayBuffer)
LIB_ADDFUNC(0x7a20e7af, sceAtracSetDataAndGetID)
LIB_ADDFUNC(0x0fae370e, sceAtracSetHalfwayBufferAndGetID)
LIB_ADDFUNC(0x6a8c3cd5, sceAtracDecodeData)
LIB_ADDFUNC(0x9ae849a7, sceAtracGetRemainFrame)
LIB_ADDFUNC(0x5d268707, sceAtracGetStreamDataInfo)
LIB_ADDFUNC(0x7db31251, sceAtracAddStreamData)
LIB_ADDFUNC(0x83e85ea0, sceAtracGetSecondBufferInfo)
LIB_ADDFUNC(0x83bf7afd, sceAtracSetSecondBuffer)
LIB_ADDFUNC(0xe23e3a35, sceAtracGetNextDecodePosition)
LIB_ADDFUNC(0xa2bba8be, sceAtracGetSoundSample)
LIB_ADDFUNC(0x31668baa, sceAtracGetChannel)
LIB_ADDFUNC(0xd6a5f2f7, sceAtracGetMaxSample)
LIB_ADDFUNC(0x36faabfb, sceAtracGetNextSample)
LIB_ADDFUNC(0xa554a158, sceAtracGetBitrate)
LIB_ADDFUNC(0xfaa4f89b, sceAtracGetLoopStatus)
LIB_ADDFUNC(0x868120b5, sceAtracSetLoopNum)
LIB_ADDFUNC(0xca3ca3d2, sceAtracGetBufferInfoForReseting)
LIB_ADDFUNC(0x644e5607, sceAtracResetPlayPosition)
LIB_ADDFUNC(0xe88f759b, sceAtracGetInternalErrorInfo)
LIB_END

#endif

